package com.gitee.shigen.common.msg;

import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author shigenfu
 */
@Data
@NoArgsConstructor
public class TableResultResponse<T> {

    private List<T> rows;
    private Long    total;

    public TableResultResponse(long total, List<T> rows) {
        this.total = total;
        this.rows = rows;
    }

}
